package com.mentaleye.service;

import java.util.List;

import com.mentaleye.bean.DeptBean;

public interface DeptService {

	public boolean addDept(DeptBean deptBean);
	
	public boolean modifyDept(DeptBean deptBean);
	
	public boolean removeDept(Integer deptId);
	
	public List<DeptBean> queryDeptAll();
	
	public List<DeptBean> queryDeptByUpDeptId(Integer upDeptId);
	
	public List<DeptBean> queryByUpDeptIdAndDeptName(int upDeptId,String deptName);
	
	public List<DeptBean> queryByUrlLike(String deptUrl);
	
	public DeptBean queryDeptByDeptId(Integer deptId);
}
